DALL·E is an AI system that creates realistic images and art from a natural language description. Older than DALL·E 3, DALL·E 2 offers more control in prompting and more requests at once.
CurrencyUSD
Input0.00
Output0.00

Generate API Key Generate your API Key to securely access Indox Router's AI models. Integrate with OpenAI-compatible tools, run queries, and build powerful AI applications — all with a single secure key.
python
typescript
CURL

from indoxrouter import Client
client = Client(api_key="[LOGIN TO GET API KEY]")

response = client.chat(
    messages: [{"role": "user", "content": ""}],
    model: "openai/dall-e-2",
    max_tokens: " ",
    frequency_penalty: " ",
    presence_penalty: " ",
    temperature: " ",
    top_p: " ",
    stream: true

)
print("Response:", response["data"])
Indox Router | OpenAI: dall-e-2